package com.example.hfSystem.entity.pojo;


import java.io.Serializable;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 配置文件表
 * </p>
 *
 * @since 2024-04-09
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("config")
@ApiModel(value = "Config对象", description = "配置文件表")
public class Config implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("配置参数名称")
    @TableField("name")
    private String name;

    @ApiModelProperty("配置参数值")
    @TableField("value")
    private String value;


}
